/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.jp.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.jp.entity.JpTest;
import com.jeeplus.modules.jp.mapper.JpTestMapper;

/**
 * 测试Service
 * @author 姜盼
 * @version 2021-11-01
 */
@Service
@Transactional(readOnly = true)
public class JpTestService extends CrudService<JpTestMapper, JpTest> {

	public JpTest get(String id) {
		return super.get(id);
	}
	
	public List<JpTest> findList(JpTest jpTest) {
		return super.findList(jpTest);
	}
	
	public Page<JpTest> findPage(Page<JpTest> page, JpTest jpTest) {
		return super.findPage(page, jpTest);
	}
	
	@Transactional(readOnly = false)
	public void save(JpTest jpTest) {
		super.save(jpTest);
	}
	
	@Transactional(readOnly = false)
	public void delete(JpTest jpTest) {
		super.delete(jpTest);
	}
	
}